﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web.UI;
using System.Data;
using System.Collections;
using KPIS.GERP.GHRMS.BLL;
using KPIS.GERP.GHRMS.IBLL;
using KPIS.GERP.GHRMS.MODEL;

namespace KPIS.GERP.GHRMS.APP.App_UI.Controls
{
    public partial class PrefixesCombo : System.Web.UI.UserControl
    {
        private IMasNamePrefixBLL BLL = new MasNamePrefixBLL();
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        public void ListPrefixesComboBox()
        {
            ListPrefixesComboBox("");
        }
        public void ListPrefixesComboBox(string Gender)
        {
            IList<MasNamePrefixInfo> InfoList = BLL.ListNamePrefixesByGender(Gender);

            cbPrefixes.DataSource = InfoList;
            cbPrefixes.DataBind();
        }
    }
}